<template>
  <Layout>
    <el-result
      icon="info"
      title="功能开发中"
      sub-title="此功能正在积极开发中，敬请期待！"
    >
      <template #extra>
        <el-button type="primary" @click="goHome">返回首页</el-button>
      </template>
    </el-result>
  </Layout>
</template>

<script setup name="UnderDevelopmentView">
import { useRouter } from 'vue-router';
import Layout from '@/components/layout/Layout.vue';

// 路由
const router = useRouter();

// 返回首页
const goHome = () => {
  router.push('/');
};
</script>

<style scoped>
:deep(.el-main) {
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
